package com.qf.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @ClassName MyAspect
 * @Description TODO
 * @Author 86181
 * @Date 2022/9/3 0:09
 * @Version 1.0
 **/
@Aspect
@Component
public class MyAspect {
    @Before(value = "execution(* com.qf.service.impl.*.*(..))")
    public void beforePrintLog() {
        System.out.println("正在记录日志");
    }

}
